#include <iostream>
#include <exception>
#include <vector>
#include <string>
#include <cstring>

using namespace std;

void test01()
{
    char ch;
    int a;
    while ((ch = cin.get()) != EOF) // cin从缓冲区中取值
    {
        // a = static_cast<int>(ch);
        cout << ch << endl;
    }
}

int main()
{
    test01();

    return 0;
}